package Server.File;

import org.apache.commons.fileupload.FileItem;

import java.io.File;

public class updateFileServer {
    public static void updateFileServer(String realPath, String novelName, FileItem novelFile) throws Exception {
        String path = realPath+"novelTXT/"+novelName+".txt";
        System.out.println(path);
        novelFile.write(new File(path));
    }
}
